package com.yh.correct.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
/**
 * 心理矫正登记模型
 * 
 * @author 王鹏程 
 * @date 2017.03.23
 * @time 10:18 
 */
public class Mentality {

	/**
	 * 心理矫正登记编号
	 */
	private Integer id;
	/**
	 * 矫正单位编号
	 */
	private Integer jid;
	/**
	 * 矫正人员编号
	 */
	private Integer pid;
	/**
	 * 心理矫正日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date date;
	/**
	 * 身体状况
	 */
	private String status;
	/**
	 * 既往病史
	 */
	private String disHistory;
	/**
	 * 就医状况
	 */
	private String medCondition;
	/**
	 * 心理矫正场所
	 */
	private String corAddress;
	/**
	 * 心理矫正方式
	 */
	private String corType;
	/**
	 * 矫正时长
	 */
	private Integer corTime;
	/**
	 * 矫正记录
	 */
	private String corRecord;
	/**
	 * 状态
	 */
	private String corStatus;
	/**
	 * 备注
	 */
	private String remarks;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getJid() {
		return jid;
	}
	public void setJid(Integer jid) {
		this.jid = jid;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getDisHistory() {
		return disHistory;
	}
	public void setDisHistory(String disHistory) {
		this.disHistory = disHistory;
	}
	public String getMedCondition() {
		return medCondition;
	}
	public void setMedCondition(String medCondition) {
		this.medCondition = medCondition;
	}
	public String getCorAddress() {
		return corAddress;
	}
	public void setCorAddress(String corAddress) {
		this.corAddress = corAddress;
	}
	public String getCorType() {
		return corType;
	}
	public void setCorType(String corType) {
		this.corType = corType;
	}
	public Integer getCorTime() {
		return corTime;
	}
	public void setCorTime(Integer corTime) {
		this.corTime = corTime;
	}
	public String getCorRecord() {
		return corRecord;
	}
	public void setCorRecord(String corRecord) {
		this.corRecord = corRecord;
	}
	public String getCorStatus() {
		return corStatus;
	}
	public void setCorStatus(String corStatus) {
		this.corStatus = corStatus;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	@Override
	public String toString() {
		return "Mentality [id=" + id + ", jid=" + jid + ", pid=" + pid + ", date=" + date + ", status=" + status
				+ ", disHistory=" + disHistory + ", medCondition=" + medCondition + ", corAddress=" + corAddress
				+ ", corType=" + corType + ", corTime=" + corTime + ", corRecord=" + corRecord + ", corStatus="
				+ corStatus + ", remarks=" + remarks + "]";
	}
	
	
}
